﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>首页</title>
<link href="css/standard.css" type="text/css" rel="stylesheet" />
<link href="css/airforceone.css" type="text/css" rel="stylesheet"/>
 <script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
 <script type="text/javascript" src="js/myjs.js"></script>
 <script type="text/javascript" src="js/myjs.js"></script>
</head>
<body>
<%
	String path = request.getContextPath();
	%>
<script>
$(document).ready(function(){ 
	initIndex();
	}); 
</script>
<style type="text/css">
body{
    margin:0;
    padding:0;
    font-size:12px;
    background:url(images/body_bg.jpg) repeat-x #0099DD;
}
.zh-cn body{font-family: STHeiti,"Microsoft YaHei", "微软雅黑", "SimSun", "宋体",arial;}
.zh-tw body{font-family: "Microsoft JhengHei","微軟正黑體",arial,helvetica,sans-serif;}
#mainBody{
    min-width: 1020px;
    background: url('images/bg01.jpg') #E7F2F4 top center repeat-x;
}
.first #mainBody{background: url('images/bg01.jpg') #FFF top center repeat-x;}
#page-container{}


/* header */
.login_BTN{background:url('images/btn_login.png') no-repeat;}
.login-joinus a{background-image:url('images/btn_joinus.png');}
/*footer*/
.footer-ad{background:url('images/footer_img.png');}
.news{background: url('images/newsbg.png') bottom center no-repeat;}
</style>
<script src="js/jquery-1.7.2.min.js"></script>
<script src="js/swfobject.js"></script>
<script type="text/javascript" src="js/swf.js" ></script>
<!--[if IE 6]>
<style type="text/css">
	html { overflow-x: hidden; }
</style>
<script type="text/javascript" src="js/iepng.js"></script>
<script type="text/javascript">
	EvPNG.fix('div, ul, img, li, input, a');
</script>
<script type="text/javascript" src="js/DD_belatedPNG_0.0.9a-min.js"></script>
<script type="text/javascript">
    $(function(){
        DD_belatedPNG.fix(".pngclass");
    });
	//修正ie6 bug
	try {
		document.execCommand("BackgroundImageCache", false, true);
	} catch(err) {}
</script>
<![endif]-->
<!-- revised -->
<script type="text/javascript">
//<![CDATA[

    //Global variable for calculating page generation time
    var PageInitTime = new Date();
    var GameType = '';

    //]]>
</script>
</head>
<body>
<%
Object userId = request.getSession().getAttribute("userId");
Object userName = request.getSession().getAttribute("userName");
String userid = "";
String username = "";
if(userId != null){
	userid = userId.toString();
}
if(userName != null){
	username = userName.toString();
}
%>
<div id="mainBody">
    <div id="page-header"> 
    <div id="header" class="clearfix">
    <div class="header-logo floatL">
        <div id="ele-logo-wrap">
        <object width="210" height="110" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="/download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0">
            <param value="images/logo.swf" name="movie" />
            <param value="high" name="quality" />
            <param name="wmode" value="transparent" />
            <embed src="wuyi/wuyishan.jpg" width="210" height="110" type="application/x-shockwave-flash" pluginspage="/www.macromedia.com/go/getflashplayer" quality="high" wmode="transparent">
        </object>
        </div>
		<style>
            #ele-logo-wrap{
                width: 210px;
                height: 110px;
                display: block;
                cursor: pointer;
				overflow:hidden;
            }
        </style>
	</div>
        <div id="header-top" class="floatL">
            <div id="login-title-wrap" class="clearfix">
                <!--login box-->
                <div id="login-area" class="floatL isLogin-N"> 
                    <input type="hidden" name="uid2" value="guest" />
                    <input type="hidden" name="SS" value="" />
                    <input type="hidden" name="SR" value="" />
                    <input type="hidden" name="TS" value="" />
                    <div class="LoginInfo">
                    <div class="LoginInfoL floatL clearfix">
                    <%if(userid != null && !"".equals(userid)){%>
                    	欢迎您：<%=username %>&nbsp;<a href="#" onclick="logout()">注销</a>&nbsp;</div>
                    <%}else{ %>
                   	<div class="login_ip">
                    <input name="username" type="text" id="username" class="login-input" value="用户名" onblur="if (this.value =='') this.value='用户名'" onfocus="this.value=''" onclick="if (this.value=='用户名') this.value=''" />
                    </div>
                    <div class="login_ip">
                    <input name="passwd" type="password" id="passwd" class="login-input" value="mima" onblur="if (this.value =='') this.value='mima'" onfocus="this.value=''" onclick="if (this.value=='mima') this.value=''" />
                    </div>
                    <input name="Submit" type="submit" value="" class="btnLogin login_BTN pngclass" onclick="login()"/>
                    </div>
                    <% } %>

                    <div class="login_BTN_div floatL clearfix">
                    <div class="login-joinus floatL"><a href="register.jsp"></a></div>
                    </div>
                    </div>
                </div>
</div>

<style>
.left {  
    float:left;  
    display:inline;  
	background-color:red;
	width:33.3%;
	height:300px
}  
.center{  
    float:left;  
    display:inline;
	background-color:blue;
	width:33.3%;
	height:300px;	
}  
.right{  
    float:right;  
    display:inline;
	background-color:yellow;
	width:33.4%;
	height:300px	
} 
.ele-lang-wrap{
    line-height: 20px;
    width:80px;
    position: relative;
    top: 1px;
    z-index: 10;
    text-align: left;
    background: #FFFFFF;
    border:1px solid #AEAEAD;
    background: url('images/lang_arrow_down.jpg') right 1px no-repeat;
}
.ele-lang-title{
    height: 20px;
    line-height: 20px;
    cursor: pointer;
    padding-right: 15px;
    text-indent: 5px;
    color: #000;
}
    /* use flag and select */
    .ele-lang-title{
        height: 32px;
        margin-top: 5px;
    }
    .ele-lang-wrap,
    .ele-lang-group{width: 54px;}
</style>
            <div id="main-Menual">
                <ul class="topNav">
                    <li class="current">
                    <a href="index.jsp" class="this">首页</a></li>
                    <li>
                    <a href="recommend.jsp" >旅游推荐</a></li>
                    <li>
                    <a href="hotel.jsp">酒店预订</a></li>
                    <li><a href="zhuce.jsp">旅游交通</a></li>
                    <li>
                    <a href="guanli.jsp">旅游新闻</a></li>
                    <li>
                    <a href="news_list.jsp">游记</a>
                    </li>
                    <li style="background:none;">
                    <a href="contactus.jsp">个人中心</a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    </div>

<div id="page-container" class="clearfix">
    <div class="first-wrap">
        <div class="ad-flash">
            <!-- 輪播 -->
            <div class="anythingSlider">
                 <div class="wrapper">
                    <div class="loop_flash">   
						<SCRIPT language=javascript1.1>
                        (function($){
                            var imag=[];
                            var link=[];
                            var text=[];
							imag[0]=encodeURIComponent("wuyi/tianyou.jpg");
	link[0]=encodeURIComponent("http://www.5imoban.net");
	text[0]="";
  	imag[1]=encodeURIComponent("wuyi/wu.jpg");
	link[1]=encodeURIComponent("http://www.5imoban.net");
	text[1]="";
  	imag[2]=encodeURIComponent("wuyi/jiuquxi.jpg");
	link[2]=encodeURIComponent("http://www.5imoban.net");
	text[2]="";
  	imag[3]=encodeURIComponent("wuyi/shui.jpg");
	link[3]=encodeURIComponent("http://www.5imoban.net");
	text[3]="";
                            if(imag.length < 5){
                                for(var i=imag.length;i<5;i++){
                                    imag[i]="images/ad.jpg";
                                    link[i]=encodeURIComponent("/");
                                    text[i]="";
                                }
                            }
                            var pic_width=1020;
                            var pic_height=350;
                            var stop_time=5000;
                            makeSWF('FrontPageFocusShower','images/focus1.swf',{
                                FlashVars : 'pics='+imag.join('|')+'&links='+link.join('|')+'&texts='+text.join('|')+'&stop_time='+stop_time+'',
                                wmode: 'transparent',
                                scale: 'noScale',
                                quality: 'high',
                                width : pic_width,
                                height : pic_height
                            });
                        })($);
                        </SCRIPT>
                    </div>
                </div>
            </div>
        </div>
        <div class="news pngclass">
            <marquee id="msgNews" scrollamount="3" scrolldelay="80" direction="left" onmouseover="this.stop();" onmouseout="this.start();" onclick="HotNewsHistory();">欢迎光临武夷山</marquee>
		</div>
		<div class="footer-context clearfix" id="articlelist">
		<!-- <div class="left" >天游峰</div> 
		<div class="center" >大王峰</div>
		<div class="right" >一线天</div>
		<div class="left" >龙川大峡谷</div>
		<div class="center" >大安源</div>
		<div class="right" >九曲溪</div> -->
		数据加载中，请稍等。。。。。。。
		</div>
	   <div id="footer" class="clearfix">
        <!-- 廳主自改 -->
        <div id="ArticleList" class="link-warp-sytle">
            <a href="#">首页</a>&nbsp;|&nbsp;<a href="#">旅游推荐</a>&nbsp;|&nbsp;<a href="#">住宿指南</a>&nbsp;|&nbsp;<a href="#">旅游交通</a>
            &nbsp;|&nbsp;<a href="#">旅游新闻</a>&nbsp;|&nbsp;<a href="#">游记</a>&nbsp;|&nbsp;<a href="#" target="_blank">个人中心</a>
                        <div id="FooterCopyright" class="link-warp-sytle">
                <p>
                    Copyright &copy; 武夷山旅游 Reserved &nbsp;&nbsp;24小时联系电话&nbsp;+63-99-8288-8888&nbsp;&nbsp;4006-931-368&nbsp;
                </p>
            </div>
        </div>
    </div>
</div>
</div>
</body>
</html>
